package Model
{
	import mx.collections.ArrayCollection;

	public class Layer
	{

		private var _name:String;
		private var _editable:Boolean;
		private var _selectedDimention:Number;
		private var _availableDimentions:ArrayCollection;
		private var _materials:ArrayCollection;
		private var _thermalEffect:Boolean;
		private var _homogen:Boolean;
		
		public function Layer(name:String = "", editable:Boolean = false, selectedDimetionn:Number = 0)
		{
			this._selectedDimention = selectedDimetionn;
			this._availableDimentions = new ArrayCollection();
			this._name = name;
			this._editable = editable;
			this._materials = new ArrayCollection();
		}

		public function get homogen():Boolean
		{
			return _homogen;
		}

		public function set homogen(value:Boolean):void
		{
			_homogen = value;
		}

		public function get thermalEffect():Boolean
		{
			return _thermalEffect;
		}

		public function set thermalEffect(value:Boolean):void
		{
			_thermalEffect = value;
		}

		public function get selectedDimention():Number
		{
			return _selectedDimention;
		}

		public function set selectedDimention(value:Number):void
		{
			_selectedDimention = value;
		}

		public function get materials():ArrayCollection
		{
			return _materials;
		}

		public function set materials(value:ArrayCollection):void
		{
			_materials = value;
		}

		public function get editable():Boolean
		{
			return _editable;
		}

		public function set editable(value:Boolean):void
		{
			_editable = value;
		}

		public function get name():String
		{
			return _name;
		}

		public function set name(value:String):void
		{
			_name = value;
		}

		public function get availableDimentions():ArrayCollection
		{
			return _availableDimentions;
		}

		public function set availableDimentions(value:ArrayCollection):void
		{
			_availableDimentions = value;
		}

	}
}